package com.jt;

public class User {
//        private static Cat cat = new Cat();
//        private static Dog dog = new Dog();
   private static Pet pet = new Dog();
   private static Pet pet1 = new Cat();

    public static void main(String[] args) {
//        cat.hello();
//        dog.hello();
        pet.hello();
        pet1.hello();
    }
}
